package trainfengxing.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import trainfengxing.mapper.userMapper;
import trainfengxing.pojo.user;
import trainfengxing.service.userService;

import java.util.List;

@Service
public class userServiceImpl implements userService {
    @Autowired
    private userMapper userMapper;

    @Override
    public List<user> selectuser() {
        return userMapper.selectuser();
    }

    @Override
    public void updateuser(user user) {
        userMapper.updateuser(user);
    }

    @Override
    public void insertUser(user user) {
        userMapper.insertUser(user);
    }


}
